# cython: language_level=3
from sqlalchemy import Column, String, DateTime

from common.database import BaseTable


class Invitation(BaseTable):
    __tablename__ = "invitation"
    invitation_id = Column(String(64), comment="邀约id")
    invitation_time = Column(DateTime, comment="邀约时间")
    reply_time = Column(DateTime, comment="上报时间")
    start_time = Column(DateTime, comment="开始时间")
    end_time = Column(DateTime, comment="结束时间")
    invite_range = Column(String(255), comment="资源范围，代表所以")
    create_time = Column(DateTime, comment="创建时间")
    exchange_type = Column(String(255), comment="资源范围，代表所以")
